home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / PASSDK30.ZIP;1 / DISK1.ZIP / PAS / PCM / MK.BAT < prev    next >
Encoding:
DOS Batch File  |  1993-04-07  |  1.0 KB  |  45 lines

  1. rem
  2. rem Command Lines to build PLAYFILE and RECFILE
  3. rem
  4.     @echo off
  5.     if not (%debug%)==(ON) goto label05
  6.     @echo on
  7. :label05
  8.  
  9.     if (%1)==()    goto help
  10.     if (%1)==(BCC) goto bcc
  11.     if (%1)==(bcc) goto bcc
  12.  
  13. :msc
  14.     nmake S=S M=1 -f recfile %3 %4 %5
  15.     nmake S=S M=1 -f playfile %3 %4 %5
  16.  
  17.     if (%2)==(ALL) goto msc05
  18.     if not (%2)==(all) goto done
  19.     :msc05
  20.     nmake S=S M=1 -f blockin  %3 %4 %5
  21.     nmake S=S M=1 -f blockout %3 %4 %5
  22.     nmake S=S M=1 -f fixwave  %3 %4 %5
  23.     goto done
  24.  
  25. :bcc
  26.     make S=s BCC=1 M=1 -f playfile %3 %4 %5
  27.     make S=s BCC=1 M=1 -f recfile  %3 %4 %5
  28.  
  29.     if (%2)==(ALL) goto bcc05
  30.     if not (%2)==(all) goto done
  31.     :bcc05
  32.     make S=s BCC=1 M=1 -f blockin  %3 %4 %5
  33.     make S=s BCC=1 M=1 -f blockout %3 %4 %5
  34.     make S=s BCC=1 M=1 -f fixwave  %3 %4 %5
  35.     goto done
  36.  
  37. :help
  38.     echo To Use: DOS\ MK [MSC or BCC] [ALL]
  39.     echo Where:           MSC specifies Microsoft C
  40.     echo          BCC specifies Borland C
  41.     echo                  ALL builds all the example programs
  42.  
  43. :done
  44.  
  45.